import request from "../../api/request";
const market = 'market'

// 获取表单数据
export function getList(data) {
    return request({
      url: market+'/billModel/listBillModelByPage',
      method: 'post',
      data: data || {}
    })
  }

//  添加数据接口  
export function addListData(data) {
  return request({
    url: market+'/billModel/save',
    method: 'post',
    data: data || {}
  })
}

//  修改数据接口 
export function updateList(data) {
  return request({
    url: market+'/billModel/update',
    method: 'post',
    data: data || {}
  })
}

//  删除接口数据
export function delData (params){
	return request({
	    url: market+'/billModel/remove',
      method: 'delete',
      data:params
	})
}

//  计费模型导出
export function exportModel(data) {
  return request({
    url: market+'/billModel/exportModel',
    method: 'post',
    data: data || {}
  })
}
